import {http} from "@/interceptor/luch-request/index.js"
// 创建班次
export const saveAttendanceTime = (data) => {
    return http.post("api/admin/attendanceTime/v1/saveAttendanceTime", data,{
	header:{
			"content-type": "application/json"
		}
	});	
}
// 班次列表
export const pageAttendanceTime = (data) => {
	return http.get("api/admin/attendanceTime/v1/pageAttendanceTime", {
		data: data
	});
}
// 编辑班次
export const updateAttendanceTime = (data) => {
    return http.put("api/admin/attendanceTime/v1/updateAttendanceTime",data,{
		header:{
			"content-type": "application/json"
		}
	});	
} 

 // 删除班次
export const deleteAttendanceTime = (data) => {
    return http.delete("api/admin/attendanceTime/v1/deleteAttendanceTime",data,{
		header:{
			"content-type": "application/json"
		}
	});	
}